#! /bin/bash

sudo kill -9 $(ps -ef|grep cms-back.jar|gawk '$0 !~/grep/ {print $2}' |tr -s '\n' ' ')

nohup /usr/local/jdk1.8.0_301/bin/java -jar -server -XX:+UseG1GC ./cms-back.jar --server.port=8027 > springboot.log 2>&1 &

echo '重启成功'
